package com.ruoyi.teacher.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 教师管理对象 t_teacher
 * 
 * @author ruoyi
 * @date 2022-12-24
 */
public class TTeacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 老师姓名 */
    @Excel(name = "老师姓名")
    private String name;

    /** 教学学科 */
    @Excel(name = "教学学科")
    private String subject;

    /** 所属校区 */
    @Excel(name = "所属校区")
    private String campus;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 帮扶优先级 */
    @Excel(name = "帮扶优先级")
    private Long priority;

    /** 老师类型（数据字典查） */
    @Excel(name = "老师类型", readConverterExp = "数=据字典查")
    private String type;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    private Long userId;

    private String dingId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSubject(String subject) 
    {
        this.subject = subject;
    }

    public String getSubject() 
    {
        return subject;
    }
    public void setCampus(String campus) 
    {
        this.campus = campus;
    }

    public String getCampus() 
    {
        return campus;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setPriority(Long priority) 
    {
        this.priority = priority;
    }

    public Long getPriority() 
    {
        return priority;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }

    public String getDingId() {
        return dingId;
    }


    public void setDingId(String dingId) {
        this.dingId = dingId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("subject", getSubject())
            .append("campus", getCampus())
            .append("phone", getPhone())
            .append("priority", getPriority())
            .append("type", getType())
            .append("sex", getSex())
            .append("dingId", getDingId())
            .append("userId", getUserId())
            .toString();
    }
}
